package com.job.admin.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.job.admin.model.user.pojo.AdminUser;
import com.job.client.common.result.ResponseResult;

import java.util.List;

public interface UserService extends IService<AdminUser> {
    ResponseResult login(AdminUser adminUser);

    ResponseResult getUserInfoByPage(Integer page, Integer size);

    ResponseResult checkUserNumber(String userNumber);

    ResponseResult createUser(AdminUser adminUser);

    ResponseResult updateUser(AdminUser adminUser);

    ResponseResult deleteUser(String userId);

    ResponseResult deleteBluk(List<String> userIds);

    ResponseResult getAllUserInfo();

    ResponseResult deletePermission(String userId, String permissionId);

    ResponseResult updatePermission(String userId, List<String> permissionList);
}
